#include "..\System\System.h"
#include "..\FavoritesHandler\FavoritesHandler.h"
#include "..\FTPHandler\FTPHandler.h"
#include "..\SSHHandler\SSHHandler.h"

using namespace AID;
using namespace Exception;
using namespace System;

static void displayTree (FolderHandlerBase* folderHnd, VirtualFile* parent)
{
	if (parent == NULL || !parent->isFolder())
		return;

	VirtualFileList childs = folderHnd->enumChildren(parent);

	for (VirtualFileCI iter = childs.begin(); iter != childs.end(); ++iter)
	{
		String path = (*iter)->getPath();

		wprintf (L"%s", path.c_str());
	}
}

static bool testFavorites()
{
	AIDFavoritesHandler* favHnd = new AIDFavoritesHandler();
	VirtualFile*	root = favHnd->getOrCreateRoot();	
	
	return false;
}

void main(int argc, char* argv[])
{
	testFavorites();
	printf ("Hello World");
}